pp108 : Archiving Process Instances

Archiving Process Instances

This topic presents an overview of archiving process instances.


Archiving helps in storing the published process instances that are no longer active or cannot be restarted from the database at a different location. The storage mechanism depends upon the archive policy defined by the administrator. At a later stage, the administrator can load the archived data back into Admin Cockpit to retrieve the business process details. Using the Process Archival Manager feature, the administrator defines an archive policy to archive the data in the Admin table of the live database. The archive policy definition must ensure that the following are present:

  • The criteria for selecting the business processes that need to be archived
  • The criteria for triggering the archive policy

    When you execute an archive policy, the process instances matching the archive policy's filter criteria are archived to the file system along with corresponding activities and business identifiers data. The archived file also contains a copy of the corresponding deployed process model data.

    Upon restoring an archive, the process instances and their related data are imported back in to the repository. However, if the corresponding deployed process model data does not already exist in the repository, it is loaded along with the process instances.

    When you unload an imported archive, the entire imported data is cleared from the relevant repositories.


Note: In case of older archives, for example, archives created on Process Platform installations prior to the BOP 4.1 release, the process identifiers associated with the process instances are mapped back to the business identifier repository. When you unload an imported archive file, both the process instances and business identifiers are cleared from the 'Process Instance Repository' and 'Business Identifier Repository', respectively.

Types of Archive Policies


There are two types of archive policies: manual and scheduled.

When an archive policy definition is set toManual, the administrator needs to trigger the archiving process manually. When an archive policy definition is set toScheduled, the system will trigger the archiving process automatically as per the set schedule, provided the archive policy is activated. It is also possible to manually trigger a scheduled archiving policy whenever required, without altering or disturbing the schedule. For more information on archiving, refer to the following topics: